package com.zq.it.pojo.exam;

import java.util.Date;

import com.zq.it.pojo.Teacher;

/**
 * TPaper entity. @author MyEclipse Persistence Tools
 */

public class TPaper implements java.io.Serializable {

	// Fields

	private long id;
	private Teacher Teacher;
	private String PName;
	private Date startTime;
	private Date endTime;
	private Integer minute;
	private Integer totalScore;
	private Date postDate;
	private String extendField;

	// Constructors

	/** default constructor */

	public TPaper() {
	}

	/** minimal constructor */
	public TPaper(String PName, Date postDate) {
		this.PName = PName;
		this.postDate = postDate;
	}

	/** full constructor */
	public TPaper(Teacher Teacher, String PName, Date startTime, Date endTime,
			Integer minute, Integer totalScore, Date postDate,
			String extendField) {
		this.Teacher = Teacher;
		this.PName = PName;
		this.startTime = startTime;
		this.endTime = endTime;
		this.minute = minute;
		this.totalScore = totalScore;
		this.postDate = postDate;
		this.extendField = extendField;
	}

	// Property accessors

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return this.Teacher;
	}

	public void setTeacher(Teacher Teacher) {
		this.Teacher = Teacher;
	}

	public String getPName() {
		return this.PName;
	}

	public void setPName(String PName) {
		this.PName = PName;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getMinute() {
		return this.minute;
	}

	public void setMinute(Integer minute) {
		this.minute = minute;
	}

	public Integer getTotalScore() {
		return this.totalScore;
	}

	public void setTotalScore(Integer totalScore) {
		this.totalScore = totalScore;
	}

	public Date getPostDate() {
		return this.postDate;
	}

	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}

	public String getExtendField() {
		return this.extendField;
	}

	public void setExtendField(String extendField) {
		this.extendField = extendField;
	}
}